<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

	<h:form>
		<ul>
			<ui:repeat var="item" value="#{viewManager.menu}" >
				<li><h:commandLink action="#{item.action}" value="#{item.name}">
					 <f:setPropertyActionListener target="#{viewManager.menuPosition}" value="#{item.naviLabel}"/>
					</h:commandLink>
				</li>
			</ui:repeat>
		</ul>
	</h:form>

</ui:composition>